package com.example.as_sum.activity;

import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.TextView;

import com.example.as_sum.R;
import com.example.as_sum.application.AppApplication;

public class SafetyCenterActivity extends BaseActivity implements View.OnClickListener{

    private TextView tv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initTitle("安全中心");
        AppApplication.aContext.getAllActivity();
    }
    public void showCertList(View view){

    }
    @Override
    public int getContentId() {
        return R.layout.activity_safety_center;
    }

    @Override
    public void initView() {
        tv=(TextView)this.findViewById(R.id.safety_tv1);
    }

    @Override
    public void addListener() {
        tv.setOnClickListener(this);
    }

    @Override
    public void loadData() {

    }

    @Override
    public Handler getHandler() {
        return null;
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.safety_tv1:
                AppApplication.aContext.safetyLogout(this,true);
                finish();
                break;
        }
    }
}
